import {GATEWAY_AXIOS} from './axios.js';

// GET - 获取年级-学生分布数据
export function studentOfGradeApi() {
    return GATEWAY_AXIOS.get('/course/api/v1/stats/stuNumInEachGrade');
}

// GET - 获取班级-学生分布数据
export function attendanceOfClassApi() {
    return GATEWAY_AXIOS.get('/course/api/v1/stats/allClassesAttendance');
}

// GET - 获取全部学生总数
export function totalStudentApi() {
    return GATEWAY_AXIOS.get('/course/api/v1/student/total');
}

// GET - 获取在培学生总数
export function livingStudentApi() {
    return GATEWAY_AXIOS.get('/course/api/v1/student/living');
}

// GET - 获取在培班级总数
export function livingClazzApi() {
    return GATEWAY_AXIOS.get('/course/api/v1/clazz/living');
}

// GET - 获取在职员工总数
export function livingEmpApi() {
    return GATEWAY_AXIOS.get('/employee/api/v1/emp/living');
}
